const Layout = () => import('@/layout/index.vue')

export default
{
  path: '/admin',
  name: 'AdminHome',
  component: Layout,
  redirect: '/admin/welcome',
  meta: {
    title: '首页',
    icon: 'fluent:home-32-regular',
    menuRank: 0,
  },
  children: [
    {
      path: 'welcome',
      name: 'AdminWelcome',
      component: () => import('@/views/admin/welcome/index.vue'),
      meta: {
        title: '首页',
        showLink: false,
      },
    },
    {
      path: 'userInfo',
      name: 'AdminUserInfo',
      component: () => import('@/views/admin/userInfo/index.vue'),
      meta: {
        title: '用户信息',
        showLink: false,
        showTag: true,
      },
    },
  ],
} satisfies RouteConfigsTable
